<h3>Stash some files to be used later in the build</h3>
<div>
  Saves a set of files for use later in the same build, generally on another node/workspace. Stashed files are not otherwise available and are generally discarded at the end of the build.
 <strong>Note</strong> that the
 <code>stash</code> and
 <code>unstash</code> steps are designed for use with small files. For large data transfers, use the External Workspace Manager plugin, or use an external repository manager such as Nexus or Artifactory. This is because stashed files are archived in a compressed TAR, and with large files this demands considerable on-master resources, particularly CPU time. There's not a hard stash size limit, but between 5-100 MB you should probably consider alternatives.
</div>
<ul><li><code>name</code>
<div><div>
  Name of a stash. Should be a simple identifier akin to a job name.
</div></div>

<ul><li><b>Type:</b> <code>String</code></li></ul></li>
<li><code>allowEmpty</code> (optional)
<ul><li><b>Type:</b> <code>boolean</code></li></ul></li>
<li><code>excludes</code> (optional)
<div><div>
  Optional set of
 <a href="https://ant.apache.org/manual/dirtasks.html#patterns" rel="nofollow">Ant-style exclude patterns</a>.
 <br> Use a comma separated list to add more than one expression.
 <br> If blank, no files will be excluded.
</div></div>

<ul><li><b>Type:</b> <code>String</code></li></ul></li>
<li><code>includes</code> (optional)
<div><div>
  Optional set of
 <a href="https://ant.apache.org/manual/dirtasks.html#patterns" rel="nofollow">Ant-style include patterns</a>.
 <br> Use a comma separated list to add more than one expression.
 <br> If blank, treated like
 <code>**</code>: all files.
 <br> The current working directory is the base directory for the saved files, which will later be restored in the same relative locations, so if you want to use a subdirectory wrap this in
 <a href="https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#code-dir-code-change-current-directory" rel="nofollow"><code>dir</code></a>.
</div></div>

<ul><li><b>Type:</b> <code>String</code></li></ul></li>
<li><code>useDefaultExcludes</code> (optional)
<div><div>
  If selected, use the default excludes from Ant - see
 <a href="http://ant.apache.org/manual/dirtasks.html#defaultexcludes" rel="nofollow">here</a> for the list.
</div></div>

<ul><li><b>Type:</b> <code>boolean</code></li></ul></li>
</ul>